﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Solution.Business.Component;
using Solution.Business.Entities;
using Solution.Data;

namespace Solution.UI.Web.Controllers
{
    public class DetailsController : Controller
    {
        //
        // GET: /Details/

        public ActionResult Index(int Id)
        {
            var list = Business.Component.NewsComponent.News_GetByTop("1", "NewsId = '" + Id + "'", "");
           // if (list.Count > 0)
            //{
                return View(list);
            //}
        }

    }
}
